package com.badboy.mycarbon.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


/**
 * 系统字典项实体类
 */
@Data
@TableName("sys_dict_item")
public class SysDictItem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String dictCode;

    private String itemValue;

    private String itemCh;

    private String itemEn;

    private String description;

    private Integer sortOrder;  // 对应表中 sort_order 列

    private Integer status;

    private Long creatorId;

    private Long updatedId;

    private LocalDateTime createdTime;

    private LocalDateTime updatedTime;
}